package com.transaction.manage;

import java.math.BigDecimal;
import java.util.Random;

public class Aa {
    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
            BigDecimal aa = new BigDecimal(random.nextDouble()/10).setScale(8,BigDecimal.ROUND_DOWN);
            int bb = random.nextInt(2);
            System.out.println(aa);
            System.out.println(bb);
        }
    }

    private static void exchange(Boolean flag) {
        flag = true;
    }
}














